Skip to content

fix/openai-model-type-supported-unsupported#573

Open
prabhash-varma wants to merge 2 commits intomainfrom
fix/openai-model-type-supported-unsupported
Open

fix/openai-model-type-supported-unsupported#573
prabhash-varma wants to merge 2 commits intomainfrom
fix/openai-model-type-supported-unsupported

Conversation

@prabhash-varma
Copy link
Copy Markdown
Contributor

## Summary
Added supported and unsupported type annotations to OpenAI model configurations across all provider files to clearly define which API formats (`chat`, `messages`, `responses`) each model supports.

---

## Changes

### Files Modified
- `general/openai.json`  
- `general/open-ai.json`  
- `general/azure-openai.json`  
- `general/azure-ai.json`  

---

### Default Config Updates

| File | Change |
|------|--------|
| openai.json, open-ai.json | `supported: []``["messages","responses"]`, `unsupported: []` |
| azure-openai.json | `supported: []``["messages","responses"]`, `unsupported: []` |
| azure-ai.json | `supported: ["tools"]``["tools","messages","responses"]`, `unsupported: []` |

---

### Models updated to primary `"responses"`
*(with `unsupported: ["chat","messages"]`)*

| Model | openai.json | open-ai.json | azure-openai.json | azure-ai.json |
|------|-------------|-------------|-------------------|---------------|
| o3-deep-research | Y | Y | Y | - |
| o3-deep-research-2025-06-26 | Y | Y | Y | - |
| o4-mini-deep-research | Y | Y | Y | - |
| o4-mini-deep-research-2025-06-26 | Y | Y | Y | - |
| codex-mini-latest | Y | Y | Y | - |
| gpt-5-codex | Y | Y | Y | Y |
| gpt-5-pro | Y | Y | Y | Y |
| gpt-5-pro-2025-10-06 | Y | Y | Y | Y |
| gpt-5.2-pro | Y | Y | Y | - |
| gpt-5.2-pro-2025-12-11 | Y | Y | Y | - |
| gpt-5.4-pro | Y | Y | Y | - |
| gpt-5.4-pro-2026-03-05 | Y | Y | - | - |

---

### Models with `unsupported: ["responses"]`
*(chat-only models, no Responses API support)*

| Model | openai.json | open-ai.json | azure-openai.json | azure-ai.json |
|------|-------------|-------------|-------------------|---------------|
| gpt-4o-search-preview | Y | Y | Y | - |
| gpt-4o-mini-search-preview | Y | Y | Y | - |
| gpt-4o-mini-search-preview-2025-03-11 | Y | Y | Y | - |

---

### Other Fixes
- `gpt-5.3-chat-latest` in `openai.json`: added missing  
  `supported: ["tools", "image"]` to align with `open-ai.json`.

@prabhash-varma
Copy link
Copy Markdown
Contributor Author

@siddharthsambharia-portkey could you please review the format I’ve added for supported and unsupported and confirm if it’s correct?

@siddharthsambharia-portkey
Copy link
Copy Markdown
Collaborator

Models with unsupported: ["responses"]

(chat-only models, no Responses API support)

Model openai.json open-ai.json azure-openai.json azure-ai.json
gpt-4o-search-preview Y Y Y -
gpt-4o-mini-search-preview Y Y Y -
gpt-4o-mini-search-preview-2025-03-11 Y Y Y -

i'm sur e there will be a lot more models that don't support response. but it's fine, most of them are already retired..

@siddharthsambharia-portkey
Copy link
Copy Markdown
Collaborator

@prabhash-varma there are merge conflicts as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants